export interface Likes {
  authorId: number;
  createDate: string;
  createId: number;
  id: number;
  type: number;
  userId: number;
}
// 文章列表
export interface Article {
  id: number;
  createDate: string;
  updateDate: string;
  article_title: string;
  article_content: string;
  article_description: string;
  article_cover: string;
  authorName: string;
  categoryName: string;
  tagNameList: string|string[];
  thumbs_up_times: number;
  star_times: number;
  comment_times: number;
  userId: number;
  category_id: number;
}
// 文章详情
export interface ArticleInfo extends Article  {
  is_top: boolean;
  order: number;
  status: number;
  type: number;
  origin_url: string;
  view_times: number;
  reading_duration: number;
  tagIdList: number[];
  likes: Likes[];
}

export interface RelationArticle {
  id: number;
  article_cover: string;
  article_title: string;
  createDate?: string
}
